#include "IButton.h"

IButton::IButton(){
    enable = false;
    func = NULL;
}

IButton::IButton(string name, int x, int y, int w, int h, KmyScriptAnchor *func)
{
    this->button_name = name;
    this->enable = true;
    this->x = x;
    this->y = y;
    this->w = w;
    this->h = h;
    this->func = func;
}
